// 登录类型
export interface logfromType {
  username: string;
  password: string;
}

// 定义接口返回数据拥有得ts类型
export interface logfromReq {
  code: number;
  message: string;
  ok: boolean;
}
// 用户信息返回string
export interface logfromDate extends logfromReq {
  data: string;
}
// 用户信息返回数组
export interface userInfoData extends logfromReq {
  data: {
    avatar: string;
    name: string;
    buttons: string[];
    roles: string[];
    routes: string[];
  };
}
// 推出登录
